﻿package mortal.game.proxy
{
    import Message.Game.*;
    import mortal.game.mvc.*;
    import mortal.mvc.core.*;

    public class TitleProxy extends Proxy
    {

        public function TitleProxy()
        {
            return;
        }// end function

        public function enableTitle(param1:int) : void
        {
            rmi.iTitlePrx.enableTitle_async(new AMI_ITitle_enableTitle(this.enableSucc), param1);
            return;
        }// end function

        private function enableSucc(param1:AMI_ITitle_enableTitle) : void
        {
            NetDispatcher.dispatchCmd(ServerCommand.TitleResetHideStatus, {});
            return;
        }// end function

        public function hideTitle(param1:int) : void
        {
            rmi.iTitlePrx.hideTitle_async(new AMI_ITitle_hideTitle(), param1);
            return;
        }// end function

        public function activeTitle(param1:String) : void
        {
            rmi.iTitlePrx.activeTitle_async(new AMI_ITitle_activeTitle(), param1);
            return;
        }// end function

        public function unLoadTitle() : void
        {
            rmi.iTitlePrx.unLoadTitle_async(new AMI_ITitle_unLoadTitle());
            return;
        }// end function

    }
}
